package com.zpl.order.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zpl.order.entity.Order;
import com.zpl.order.entity.dto.OrderAllKeyWordDTO;
import com.zpl.order.entity.dto.OrderKeyWordDTO;
import com.zpl.order.entity.vo.OrderAllVO;

import java.util.List;

public interface OrderService {
    boolean insert(Order order);
    boolean delete(Long id);
    boolean update(Order order);
    Order selectById(Long id);
    IPage<Order> selectByMemberId(OrderKeyWordDTO orderKeyWordDTO);


    IPage<OrderAllVO> getOrderAllList(OrderAllKeyWordDTO orderAllKeyWordDTO);

}
